{template 'header'}
<body onselectstart="return true;" ondragstart="return false;">
<div class="body" style="padding-bottom:10px;">

{template 'slide'}

<section>

    <ul class="list_font">

        {php $index=1;$html="";}
        {loop $navs $nav}
        {php $indexli=$index%7}
        <?php
            $ico = $nav['css']['icon']['icon'];
            if($indexli==2||$indexli==3||$indexli==4||$indexli==5){
                if($indexli==2)$html .= "<ol>";
                $html .= '<li><a href="'.$nav["url"].'"><div><span class="'.$ico.'"></span></div><div><p>'.$nav["name"].'</p></div></a></li>';
                if($indexli==5)$html .= "</ol>";

            }else{
                if(empty($nav['icon']))
                $html .= '<li><a href="'.$nav["url"].'"><div><span class="'.$ico.'"></span></div><div><p>'.$nav["name"].'</p></div></a></li>';
                else
                $html .= '<li><a href="'.$nav["url"].'"><img src="./resource/attachment/'.$nav["icon"].'" /></a></li>';

            }
        ?>
        {php if($index==7)$index=0}
        {php $index++}
        {/loop}
        <?php echo $html?>
    </ul>

</section>

</div>

{template 'footer'}



